package com.cloudcentral.websocket.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * Create By Administrator
 * 2023-12-03 22:22
 */
@Data
@Schema(description = "Websocket消息")
public class WSData<T> {
  @Schema(description = "消息类型")
  private final String type;
  @Schema(description = "内容")
  private final T data;
}
